#ifndef DATABASESETTINGWINDOW_H
#define DATABASESETTINGWINDOW_H
#include <QMainWindow>
#include <QDialogButtonBox>
#include <QPushButton>
#include <QLineEdit>
#include <QLabel>

class DatabaseSettingWindow : public QMainWindow {
Q_OBJECT
public:
    explicit DatabaseSettingWindow(QWidget *parent = nullptr);
    ~DatabaseSettingWindow();
private:
    QDialogButtonBox *dbb;
    QPushButton *testButton;
    QLineEdit *hostEdit;
    QLineEdit *portEdit;

private slots:
    void onButtonClicked(QAbstractButton *);
};
#endif // DATABASESETTINGWINDOW_H

